package com.empire.module.member.controller.admin.internetaccount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 互联网账号新增/修改 Request VO")
@Data
public class InternetAccountSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31413")
    private Long id;

    @Schema(description = "账号类型表主键id", example = "21033")
    private Long accountTypeId;

    @Schema(description = "账号如：@idrisla56079731", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "账号如：@idrisla56079731不能为空")
    private String username;

    @Schema(description = "昵称", example = "赵六")
    private String nickname;

    @Schema(description = "人员ID对应的是member_user表的ID", example = "1")
    private Long personId;
}